<!--  -->
<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <Nnav></Nnav>
      </el-header>
      <el-main>
        <router-view :key="$route.fullPath" />
      </el-main>
    </el-container>
  </div>
</template>


<script setup lang='js'>
import { ref, reactive } from 'vue'
import Nnav from "@/components/nav.vue";
import { navdata } from "@/stores/nav.js";
const navd = navdata();
</script>

<style  scoped>
.el-main {
  margin-top: 60px;
}

.el-header {
  padding: 0 !important;
  position: fixed;
  top: 0;
  width: 100vw;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
  z-index: 999;
}
</style>
